package com.gewe.wxChat.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 设备表
 * @TableName app
 */
@TableName(value ="wx_device")
@Data
public class WxDevice implements Serializable {
    /**
     * id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 设备id
     */
    @TableField(value = "appId")
    private String appId;

    /**
     * 取码返回的id
     */
    @TableField(value = "uuid")
    private String uuid;

    /**
     * 微信id
     */
    @TableField(value = "wxId")
    private String wxId;

    /**
     * 昵称
     */
    @TableField(value = "nickName")
    private String nickName;

    /**
     * 绑定手机
     */
    @TableField(value = "mobile")
    private String mobile;

    /**
     * 微信号
     */
    @TableField(value = "alias")
    private String alias;

    /**
     * 创建时间
     */
    @TableField(value = "createTime")
    private Date createTime;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}